package com.study.jdk8v2;

/**
 * <p>添加类描述</p>
 *
 * @author chentao
 * @version v 0.1 2021/10/20 14:04
 */
public class Person {
    //名字
    private String name;
    //性别
    private String sex;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    @Override
    public String toString() {
        return "Person{" +
                "name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                '}';
    }
}
